/**
 * 评论路由
 * routes/reviews.js
 */

var express = require('express');
var router = express.Router();
var auth = require("../controller/auth");
var review = require('../controller/review');

router.post("/add",auth.isLogin,auth.isSelf,review.addRiview);

router.post("/useful",auth.isLogin,auth.isSelf,review.usefulReview);


module.exports = router;